/* 版心居中的代码 */
.warpper {
    width: 1200px;
    margin: 0 auto;
}

/* 网页背景色 */
body {
    background-color: #f3f5f7;
}

.header {
    height: 100px;
    background-color: #fff;
}

.header .warpper {
    display: flex;
    padding-top: 29px;
}

/* logo区域 */
.logo a {
    display: block;
    width: 195px;
    height: 41px;
    background-image: url(../img/logo.png);
}

/* 导航区域 */
.nav {
    margin-left: 102px;

}

.nav ul {
    display: flex;
}

.nav li {
    margin-right: 24px;
}

.nav li a {
    display: block;
    font-size: 19px;
    padding: 6px 8px;
    line-height: 27px;
}

/* 高亮显示 */
.nav li .active,
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}

/* 搜索区域 */
.search {
    display: flex;
    align-items: center;
    margin-left: 64px;
    border-radius: 20px;
    height: 40px;
    width: 412px;
    background-color: #f3f5f7;
    padding-left: 19px;
    padding-right: 12px;
}

.search input {
    background-color: transparent;
    outline: none;
    flex: 1;
    border: 0;
}

.search input::placeholder {
    font-size: 14px;
    color: #999;
}

.search a {
    width: 16px;
    height: 16px;
    background-image: url(../img/search.png);
}

/* 用户区域 */
.user {
    margin-left: 32px;
    margin-top: 4px;

}

.user img {
    /* 垂直方向的居中 */
    vertical-align: middle;
    margin-right: 7px;
}

.user span {
    color: #666;
    font-style: 16px;
}

/* banner区域 */

.banner {
    height: 420px;
    background-color: #0092cb;
}

.banner .warpper {
    display: flex;
    height: 420px;
    justify-content: space-between;
    background-image: url(../uploads/banner.png);
}

.banner .left {
    padding: 3px 20px;
    width: 191px;
    height: 420px;
    background-color: rgba(0, 0, 0, 0.42);
}

.banner .left a {
    height: 46px;
    display: block;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
    background: url(../img/right.png) no-repeat right center;
}

.banner .left a:hover {
    color: #00a4ff;
}

/* 课程表区域 */
.banner .right {
    width: 218px;
    height: 305px;
    background-color: #209dd5;
    border-radius: 10px;
    margin-top: 60px;
}

.banner h3 {
    margin-left: 14px;
    height: 48px;
    line-height: 48px;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
}

.banner .right .content {
    background-color: #fff;
    padding: 14px;
    height: 257px;
    border-radius: 10px;
}

.banner dl {
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.banner dt {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.banner dd {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
}

.banner span {
    color: #004aff;
}

.banner strong {
    color: #7d7d7d;
    font-weight: 400;
}

.banner a {
    height: 32px;
    display: block;
    background-color: #004aff;
    text-align: center;
    line-height: 32px;
    border-radius: 15px;
    font-size: 14px;
    color: #fff;
}

/* 精品推荐区域 */
.recommend {
    margin-top: 11px;
    height: 60px;
    background-color: #fff;
    display: flex;
    padding: 0 20px;
    /* align-items: center; */
    line-height: 60px;
}

.recommend ul {
    display: flex;
    /* 
        技巧:
        除去标题和修改兴趣的尺寸,父级剩余尺寸都改ul,实现把修改兴趣挤到最右侧
    */
    flex: 1;
}

.recommend h3 {
    color: #004aff;
    font-size: 18px;
    font-weight: 400;
}

.recommend ul li a {
    padding: 0 24px;
    border-right: 1px solid #e0e0e0;

    font-size: 18px;
}

/* 去掉最后一个li 里面的a的右边距 */
.recommend ul li:last-child a {
    border-right: 0;
}

.recommend .modefiy {
    font-size: 16px;
    color: #004aff;
}

.recommend ul li a:hover {
    color: #004aff;
}

/* 精品课程区域 */
.course {
    margin-top: 15px;
    /* background-color: red; */
}

/* .course .hd {
    display: flex;
    justify-content: space-between;
    line-height: 60px;
    height: 60px;
} */

/* 公用的title样式,保证下方内容还用得到 */
.pubicTitle {
    display: flex;
    justify-content: space-between;
    line-height: 60px;
    height: 60px;
}

.course .pubicTitle h3 {
    font-size: 21px;
    font-weight: 400;
}

.course .pubicTitle .more {
    padding-right: 20px;
    background: url(../img/more.png) no-repeat right center;
    font-size: 14px;
    color: #999;
}

/* 课程内容  公共类 */
.pubicContent ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pubicContent li {
    margin-bottom: 14px;
    width: 228px;
    height: 271px;
    /* background-color: pink; */
}

.pubicContent li .pic {
    height: 157px;
}

.pubicContent li .text {
    padding: 20px;
    height: 115px;
    background-color: #fff;
}

.pubicContent li .text h4 {
    height: 40px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 13px;
}

.pubicContent li .text p {
    font-size: 14px;
    line-height: 20px;
    color: #999;
}

.pubicContent li .text p span {
    color: #fa6400;
}

.pubicContent li .text p i {
    font-style: normal;
}

/* 前端开发工程师区域 */
.warpper .pubicTitle ul {
    display: flex;
}

.warpper .pubicTitle ul li {
    margin-right: 20px;
    font-size: 16px;
}

.warpper .pubicTitle ul .active {
    color: #004aff;
}

.warpper .pubicContent {
    display: flex;
    justify-content: space-between;
}

.warpper .pubicContent .left {
    width: 228px;
    /* background-color: pink; */
}

.warpper .pubicContent .right {
    width: 957px;
    /* background-color: red; */
}

/* 版权区域 */
.footer {
    padding-top: 60px;
    margin-top: 60px;
    height: 273px;
    background-color: #fff;
}

.footer .warpper {
    display: flex;
    justify-content: space-between;
}

.footer .left {
    width: 440px;
    /* background-color: pink; */
}

.footer .left p {
    margin-top: 24px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    color: #666;
}

.footer .left .download {
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    color: #00a4ff;
}

.footer .right {
    display: flex;
}

.footer .right dl {
    margin-left: 130px;
}

.footer .right dt {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 23px;
}

.footer .right a {
    font-size: 14px;
    color: #666;
    line-height: 24px;
}